﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TRAnimation
{
    public class AnimationData
    {
        string name;
        TimeSpan duration;
        Keyframe[] keyframes;

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public TimeSpan Duration
        {
            get { return duration; }
            set { duration = value; }
        }

        public Keyframe[] Keyframes
        {
            get { return keyframes; }
            set { keyframes = value; }
        }

        public AnimationData(string name, TimeSpan duration, Keyframe[] keyframes)
        {
            this.name = name;
            this.duration = duration;
            this.keyframes = keyframes;
        }
    }
}
